package com.server.llh.llhserverwork.bean;

import java.util.List;

/**
 * Created by ZTF on 2017-06-14.
 */

public class FoodPayBean {

    /**
     * data : {"payList":{"orderid":"5215","consumeType":"CONSUME_CATERING","mPayitems":[{"paytype":"CASH_ACCOUNT","ammount":22,"id":"PC50026"}]},"totalFee":22}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * payList : {"orderid":"5215","consumeType":"CONSUME_CATERING","mPayitems":[{"paytype":"CASH_ACCOUNT","ammount":22,"id":"PC50026"}]}
         * totalFee : 22
         */

        private PayListBean paylist;
        private double totalFee;

        public String getOrderid() {
            return orderId;
        }

        public void setOrderid(String orderId) {
            this.orderId = orderId;
        }

        private String orderId;

        public PayListBean getPayList() {
            return paylist;
        }

        public void setPayList(PayListBean paylist) {
            this.paylist = paylist;
        }

        public double getTotalFee() {
            return totalFee;
        }

        public void setTotalFee(double totalFee) {
            this.totalFee = totalFee;
        }

        public static class PayListBean {
            /**
             * orderid : 5215
             * consumeType : CONSUME_CATERING
             * mPayitems : [{"paytype":"CASH_ACCOUNT","ammount":22,"id":"PC50026"}]
             */

            private String orderid;
            private String consumeType;
            private List<MPayitemsBean> mPayitems;

            public String getOrderid() {
                return orderid;
            }

            public void setOrderid(String orderid) {
                this.orderid = orderid;
            }

            public String getConsumeType() {
                return consumeType;
            }

            public void setConsumeType(String consumeType) {
                this.consumeType = consumeType;
            }

            public List<MPayitemsBean> getMPayitems() {
                return mPayitems;
            }

            public void setMPayitems(List<MPayitemsBean> mPayitems) {
                this.mPayitems = mPayitems;
            }

            public static class MPayitemsBean {
                /**
                 * paytype : CASH_ACCOUNT
                 * ammount : 22
                 * id : PC50026
                 */
                private String paytype;
                private double ammount;
                private String id;

                public String getOrgid() {
                    return orgid;
                }

                public void setOrgid(String orgid) {
                    this.orgid = orgid;
                }

                private String orgid;
                public String getPaytype() {
                    return paytype;
                }

                public void setPaytype(String paytype) {
                    this.paytype = paytype;
                }

                public double getAmmount() {
                    return ammount;
                }

                public void setAmmount(double ammount) {
                    this.ammount = ammount;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }
            }
        }
    }
}
